package com.softeem.springbootdemo.controller;

import com.softeem.springbootdemo.MyApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
public class HelloController {
     @GetMapping("/")
    public String hello(){
         return "这是第一个SpringBoot应用！";
     }
}

